import { createRequest } from '/@/api/service';
const module = 'ib/archive/v1/ArchivesManageApi/';

/**
 * 档案列表查询——默认不查库存中的档案
 * @param data
 * @param header
 * @returns
 */
function QUERY_ASSET_LIST(
  data: ArchivesManageApi.QueryAssetListReq,
  header: object = {},
): Promise<ArchivesManageApi.QueryAssetListResp> {
  return createRequest(`${process.env.APP_API_URL}${module}queryAssetList`, data, header, 'POST');
}

export { QUERY_ASSET_LIST };
